using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Alipay.AopSdk.Core.Domain
{
	/// <summary>
	///     OpenPromoPrize Data Structure.
	/// </summary>
	[Serializable]
	public class OpenPromoPrize : AopObject
	{
		/// <summary>
		///     消费门槛设置，单位元
		/// </summary>
		[JsonProperty("prize_base_rule_amount")]
		public string PrizeBaseRuleAmount { get; set; }

		/// <summary>
		///     商户增加的自定义菜单内容，包括菜单名称，详情页标题。JSON串形式上传
		/// </summary>
		[JsonProperty("prize_custom_menu")]
		
		public List<PrizeCustomMenu> PrizeCustomMenu { get; set; }

		/// <summary>
		///     奖品详情说明，默认和活动详情相同
		/// </summary>
		[JsonProperty("prize_desc")]
		public string PrizeDesc { get; set; }

		/// <summary>
		///     ISV提供素材中心的图片ID
		/// </summary>
		[JsonProperty("prize_detail_img")]
		public string PrizeDetailImg { get; set; }

		/// <summary>
		///     周期性使用时段规则
		/// </summary>
		[JsonProperty("prize_dimension_time")]
		
		public List<OpenPromoPrizeDimension> PrizeDimensionTime { get; set; }

		/// <summary>
		///     券指定可用有效结束日期，和相对可用时间互斥
		/// </summary>
		[JsonProperty("prize_end_time")]
		public string PrizeEndTime { get; set; }

		/// <summary>
		///     ISV提供素材中心的图片ID，建议尺寸120*120，默认为空
		/// </summary>
		[JsonProperty("prize_logo")]
		public string PrizeLogo { get; set; }

		/// <summary>
		///     奖品名称，默认和活动名称相同
		/// </summary>
		[JsonProperty("prize_name")]
		public string PrizeName { get; set; }

		/// <summary>
		///     券相可用对时间，和指定可用时间互斥。
		/// </summary>
		[JsonProperty("prize_relative_time")]
		public OpenPromoPrizeRelativeTime PrizeRelativeTime { get; set; }

		/// <summary>
		///     券指定可用开始时间，和相对可用时间互斥
		/// </summary>
		[JsonProperty("prize_start_time")]
		public string PrizeStartTime { get; set; }

		/// <summary>
		///     券副标题
		/// </summary>
		[JsonProperty("prize_subtitle")]
		public string PrizeSubtitle { get; set; }

		/// <summary>
		///     店铺数据，支持多条
		/// </summary>
		[JsonProperty("prize_suitable_shops")]
		
		public List<string> PrizeSuitableShops { get; set; }

		/// <summary>
		///     券模板有效结束日期，默认和活动结束时间相同
		/// </summary>
		[JsonProperty("prize_template_end_time")]
		public string PrizeTemplateEndTime { get; set; }

		/// <summary>
		///     券模板有效起始日期，默认和活动开始时间相同
		/// </summary>
		[JsonProperty("prize_template_start_time")]
		public string PrizeTemplateStartTime { get; set; }

		/// <summary>
		///     商家自定义使用须知内容，按条传入。JSON串形式上传，最多6条，每条最多100字
		/// </summary>
		[JsonProperty("prize_terms")]
		
		public List<string> PrizeTerms { get; set; }

		/// <summary>
		///     奖品类型，现在支持VOUCHER_TICKET：表示代金券
		/// </summary>
		[JsonProperty("prize_type")]
		public string PrizeType { get; set; }

		/// <summary>
		///     抵扣金额，单位元。
		/// </summary>
		[JsonProperty("prize_worth_amount")]
		public string PrizeWorthAmount { get; set; }
	}
}